
/* Copyright (C) 2015-2016 HangZhou Zenzet Technology Co., Ltd.
 * All right reserved

 * File:crypto/lockethttpagent.h
 * Author:guojianchuan/max
 * Date:2016-06-02

 */

#ifndef _LOCKET_HTTPAGENT_H_
#define _LOCKET_HTTPAGENT_H_

#ifdef __cplusplus
extern "C" {
#endif

/* Declare : Macro/Struct/Enum/Union */

/**
* @Enum: PROXY_MODE_E
* @Author: guojianchuan/max
* @Date: 2016-12-20
* @Description: 代理类型
*/
typedef enum tagProxyMode
{
    /* HTTP代理 */
    HTTP_PROXY = 0,

    /* HTTPS代理 */
    HTTPS_PROXY = 1
}PROXY_MODE_E;

/* Declare: Function */
int LOCKET_HTTPAGENT_Init(char* host, int host_port, int proxy_mode);

#ifdef __cplusplus
}
#endif

#endif  /* _LOCKET_HTTPAGENT_H_ */
